package net.xdclass.demo.domain;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class LocalDateTimeTest {
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date localDateTime;

	public Date getLocalDateTime() {
		return localDateTime;
	}

	public void setLocalDateTime(Date localDateTime) {
		this.localDateTime = localDateTime;
	}
}
